package com.song.cmsservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.song.cmsservice.entity.UcenterMember;
import com.song.cmsservice.entity.vo.RegisterVo;
import com.song.commonutils.ResultObj;


/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author song
 * @since 2020-04-04
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    /**
     * 前台登陆
     * @param ucenterMember
     * @return
     */
    Object login(UcenterMember ucenterMember);

    /**
     * 前台注册
     * @param registerVo
     */
    ResultObj register(RegisterVo registerVo);

    /**
     * 查询某一天的注册人数
     * @param day
     * @return
     */
    Integer countRegister(String day);
}
